<template>
    <div class=" wrap">
        <div class="head">
            <span @click="fun()">&lt;</span>
            <h2>注册账号</h2>
        </div>


       <div class="box">
            <div class="import">
                <input type="text" placeholder="请输入手机号"><span>获取验证码</span>
            </div>
            <div  class="import">
                <input type="text" placeholder="请输入验证码">
            </div>
            <div  class="import">
                <input type="text" placeholder="请输入新密码(最少8位)">
            </div>
       </div>

       <div class="read">
           <input type="radio">
           我已阅读并同意<a href="">《贝壳隐私政策》及</a><a href="">《贝壳用户服务协议》</a>
       </div>


       <div class="but" @click="ceshi()">
           注册
       </div>
       <h3>账号密码登录</h3>
    </div>
</template>

<script>
import {ringup} from "api/ringup.js"
export default {
    data(){
        return{
        }
    },
    methods:{
       fun(){
           this.$router.go(-1)
       },
       ring(){
           ringup().then((ok)=>{
              console.log(ok)
           }).catch((err)=>{
               console.log(err)
           })
       },
      
    },
}
</script>

<style scoped>
.wrap{
    padding: 0 20px;
    color: #929292;
}
  .head{
      display: flex;
      height: 50px;
      line-height: 50px;
      border-bottom: 1px solid #fbfbfb;
      font-weight: bold;
      padding: 0 10px;
      color: black;
  }
  .head h2{
      margin: 0 auto;
      font-weight: bold;
  }
  .box{
      margin-top: 40px;
      
  }
  .import{
      height: 57px;
      border-bottom: 1px solid #fbfbfb;
     display: flex;
     justify-content: space-between;
     padding: 30px;
     
  }
  input{
      height: 20px;
      border: none;
      font-size: 14px;
  }
.read{
    height: 50px;
    margin-top: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
}


  .but{
      height: 50px;
      background-color: blue;
      line-height: 50px;
      text-align: center;
      color: white;
      font-weight: bold;
       margin-top: 20px;
  }
  h3{
     height: 50px;
     text-align: center;
     margin-top: 20px;
  }
</style>